//
//  SEGIntegralExchangeConfirmCell.h
//  ExcellentHome
//
//  Created by 揭婧雯 on 2017/6/1.
//  Copyright © 2017年 陈区. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SEGIntegralExchangeConfirmModel.h"

/**
 修改数量代理
 */
@protocol SEGIntegralExchangeConfirmCellDelegate <NSObject>

/**
 * 修改数量
 * @author Wendy
 * @param count  数量
 * @param shouldRequest  是否需要请求服务器
 */
- (void)changeToCount:(NSUInteger)count shouldRequest:(BOOL)shouldRequest;

@end

@interface SEGIntegralExchangeConfirmCell : UITableViewCell

@property(nonatomic, weak) id<SEGIntegralExchangeConfirmCellDelegate> delegate;

@property (nonatomic, strong) UIImageView* picImageView; //图片
@property (nonatomic, strong) UILabel* nameLabel; //名字
@property (nonatomic, strong) UILabel* iconsLabel; //积分
@property (nonatomic, strong) UILabel* countLabel; //数量
/**
 底部填写手机号textField 线上兑换码
 */
@property (nonatomic, strong)UITextField *phoneField;
/**
 底部填写账号的textField 线上虚拟发货
 */
@property (nonatomic, strong)UITextField *accountField;

- (void)showWithModel:(SEGIntegralExchangeConfirmModel*)model count:(NSUInteger)count;

@end
